package com.ruoyi.system.service;

import com.ruoyi.system.domain.BProjectUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.vo.BUserVo;

import java.util.List;

/**
* @author yangxingze
* @description 针对表【b_project_user(项目用户关联表)】的数据库操作Service
* @createDate 2025-01-03 01:23:19
*/
public interface BProjectUserService extends IService<BProjectUser> {

    /**
     * 根据项目id删除项目用户
     * @param projectId
     */
    void deleteProjectUserByProjectId(Long projectId);

    /**
     * 保存项目用户
     * @param userList
     * @param projectId
     */
    void saveProjectUser(List<BUserVo> userList, Long projectId);
}
